import Main from '@/views/Main'

const stockRouter = {
  path: '/stock',
  component: Main,
  redirect: '/stock/productStockManage',
  name: 'stock',
  meta: {
    title: 'stock'
  },
  children: [
    {
      path: 'stock',
      component: () => import('@/views/stock/Stock'),
      name: 'Stock',
      meta: { title: 'Stock' }
    },
    {
      path: 'productStockManage',
      component: () => import('@/views/stock/ProductStockManage'),
      name: 'ProductStockManage',
      meta: { title: 'ProductStockManage' }
    },
    {
      path: 'stockChange',
      component: () => import('@/views/stock/StockChange'),
      name: 'StockChange',
      meta: { title: 'StockChange' }
    },
    {
      path: 'stockFrozen',
      component: () => import('@/views/stock/StockFrozen'),
      name: 'StockFrozen',
      meta: { title: 'StockFrozen' }
    },
    {
      path: 'pushBoxReport',
      component: () => import('@/views/stock/PushBoxReport'),
      name: 'PushBoxReport',
      meta: { title: 'PushBoxReport' }
    },
    {
      path: 'pullBoxReport',
      component: () => import('@/views/stock/PullBoxReport'),
      name: 'PullBoxReport',
      meta: { title: 'PullBoxReport' }
    }
  ]
}
export default stockRouter
